package com.hevery.blog.common.annotation;

import java.lang.annotation.*;

/**
 * @description: ${异常状态注解}
 * @author: hongyu.zhang
 * @create: 2018-04-03
 **/
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ExceptionStatus {
    int code() default 1;
    String reason() default "";
}
